import request from '@/utils/request'



export function getPage(params) {
  return request({
    url: '/api/pds/pdsQuoteCustomerTerm/saleCustomerTermList',
    method: 'get',
    params
  })
}

//新增
export function addCustomerTerm(params) {
  return request({
    url: '/api/pds/pdsQuoteCustomerTerm/addCustomerTerm',
    method: 'post',
    data: params
  })
}

//编辑查看详情
export function getCustomerTermDetail(params) {
  return request({
    url: '/api/pds/pdsQuoteCustomerTerm/getCustomerTermDetail',
    method: 'get',
    params
  })
}

//启用停用
export function modifyStatus(params) {
  return request.post({
    url: '/api/pds/pdsQuoteCustomerTerm/modifyStatus',
    data: params
  })
}
